﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QInfrastructure.Models.SystemManager;

#nullable disable


[Table("SystemMenu")]
public class SystemMenu:QBaseIntEntity
{
    public string text {  get; set; }
    public string Area {  get; set; }
    public string Controller {  get; set; }

    public string ActionName {  get; set; }

    public string url {  get; set; }

    public int parentId {  get; set; }

    public int index {  get; set; }

    public string icon {  get; set; }

    public bool IsDelete {  get; set; }

    [NotMapped]
    public string state { get; set; } = "closed";//open
    [NotMapped]
    public List<SystemMenu> children { get; set; } = new List<SystemMenu>();


}
